using Commons.Commons.Models.Definitions;
using System.Collections.Generic;
using System.IO;

namespace Commons.Models.Settings
{
	public class GameSettings : ISettings
	{
        public static int Version = 1;
        
        public static int DatabaseVersion = 1;

        public static string GameCode = "";

        public static string DatabaseFilename = "game";

        public static string PersistentDataPath = "";

		public static string SettingsPath {get{return Path.Combine(PersistentDataPath, "settings"); }}

		public static string DBPath{get{return PersistentDataPath;}}

        public Dictionary<int, QuestionDefinition> Questions { get; protected set; }

        public Dictionary<int, QuestionCategoryDefinition> Categories { get; protected set; }

        public GameSettings(Dictionary<int, QuestionDefinition> questions, Dictionary<int, QuestionCategoryDefinition> categories)
        {
            this.Questions = questions;
            this.Categories = categories;
        }
	}
}

